﻿using System;

namespace Holla.Core.Domain.Entities
{
    public class Todo
    {
        public Guid Id { get; set; }
        public string Name { get; set; }
        public string Description { get; set; }
        public DateTime DateCreated { get; set; }
        public DateTime LastUpdated { get; set; }
        public TodoStatus Status { get; set; }

        public Todo()
        {
            Id = Guid.NewGuid();
            DateCreated = DateTime.UtcNow;
            LastUpdated = DateTime.UtcNow;
            Status = TodoStatus.New;
        }
    }
}
